function jpaurl(url)
{
    window.location.href = url;
}

function jphttpurl(url)
{
    window.location.replace(url);
}